package com.shujia.wyh.day08.homework.test2;

public class MineralWater extends Drink {

    public MineralWater() {
    }

    public MineralWater(int volume, String name) {
        super(volume, name);
    }

    @Override
    public void show() {
        System.out.println("名称："+getName());
        System.out.println("容量："+getVolume());
    }
}
